home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15760 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  5.3 KB

  1. Path: mayne.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Are you really my colleagues?!?
  5. Date: 21 Apr 1996 10:26:51 -0700
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4ldr4rINNld1@mayne.ugrad.cs.ubc.ca>
  8. References: <317299C2.167E@gi.alaska.edu> <4l4n4i$t3t@news.aloha.com> <4l8cppINN43p@keats.ugrad.cs.ubc.ca> <4lcmbf$cq7@news.aloha.com>
  9. NNTP-Posting-Host: mayne.ugrad.cs.ubc.ca
  10.  
  11. In article <4lcmbf$cq7@news.aloha.com>, Jimen Ching <jching@aloha.com> wrote:
  12. >Kazimir Kylheku (c2a192@ugrad.cs.ubc.ca) wrote:
  13. >[ a lot of retorical comments ignored ]
  14. >
  15. >>There are no ``algorithms'' in C, only implementations thereof.
  16. >
  17. >I thought this was always implied.
  18. >
  19. >>The question might be asked as ``what is a good representation of a matrix in
  20. >>the C language''. 
  21. >
  22. >Do you always second guess other peoples questions?  What I wanted was
  23. >a C function which does matrix inversion.  I.e.  an *implementation* of
  24. >an algorithm to do matrix inversion, IN C.  BTW, the *IN C* was the major
  25. >point.  You can substitute anything you want for 'algorithms'.
  26.  
  27. Check Numerical Recipes in C.  Textbooks on numerical analysis are likely to
  28. have good algorithms (which are trivial to code into C). There are many ways of
  29. doing the inversion, with various merits. There are several ways to choose the
  30. pivotal elements. There are even ways to do _exact_ gaussian elimination of
  31. matrices that have integral coefficients where the results are precise
  32. rational numbers. That way there is never a question whether a diagonal element
  33. is truly zero, or just a very small epsilon.
  34.  
  35. Which method were you asking for? Do you actually have a serious application
  36. for this or will you accept _any_ method for matrix inversion?
  37.  
  38. What about orthogonal matrices? I have gotten by with just using the transpose
  39. of a matrix in that case, instead of naively computing an inverse.
  40.  
  41. There are people here that might not even know or remember what a matrix
  42. inverse is. It requires some level of expertise in the field of linear
  43. algebra that is unrelated to C programming. 
  44.  
  45. It's harmless enough to ask the question, but why are you insisting that it's
  46. canonically appropriate for comp.lang.c?
  47.  
  48. >>You are taking Usenet far too seriously and personally. How do you know whether
  49. >>or not I can't interact with other people?
  50. >
  51. >If your definition of taking Usenet too seriously/personally means that
  52. >I read c.l.c in search of interesting topics concerning the C language
  53. >(the only system specific group I read is Linux), and when I find such
  54. >a topic, all I see are flames to the author about the inappropriateness
  55. >of the topic.  Then yeah, I do take it seriously and personally.  I'm
  56. >tired of such crap.  Seems like I'm not the only one.
  57.  
  58. So how many useful answers did you get about matrix inversion? How do the
  59. answers rate against ones found in good reference texts or in appropriate
  60. newsgroups? Was it really worth-while to ask here rather than somewhere else?
  61.  
  62. >As for how do I know you can't interact with other people?  Well, simple.
  63. >From the comment below and your intolerance of off topic posts.  It shows
  64. >that you are a self rightous and obnoxious person.  Note, this is only
  65.  
  66. No. I sometimes participate in off topic posts (like this thread---prime
  67. example). But this is not the canonical thing. We can't encourage off
  68. topic posts because they happen! That's my stance. I will unofficialy condone
  69. off-topic posts, but I won't go as far as the arrogance to say that they ought
  70. to be the norm.
  71.  
  72. >I don't know why you had the need to tell me this, but thank you for
  73. >sharing.  I guess somehow, all the years I've been reading c.l.c, I've
  74. >missed all your posts.  I'll try to be more thorough next time.
  75.  
  76. Start with the FAQ, which somehow also passed you by in ``all the years'':
  77.  
  78. 14.12:  I'm looking for some code to do:
  79.                 Fast Fourier Transforms (FFT's)
  80.                 matrix arithmetic (multiplication, inversion, etc.)
  81.                                                    ^^^^^^^^^
  82.                 complex arithmetic
  83.  
  84. A:      Ajay Shah maintains an index of free numerical software; it is
  85.         posted periodically, and available where this FAQ list is
  86.         archived (see question 20.40).  See also question 18.16.
  87.  
  88.  
  89. Found that with a simple substring search for the word ``matrix''.
  90.  
  91.  
  92. Here is a listing of the directory /pub/usenet/comp.lang.c at rtfm.mit.edu
  93.  
  94. -rw-rw-r--   8 root     3          258633 Apr  5 01:19 C-FAQ-list
  95. -rw-rw-r--   8 root     3           56602 Apr 16 09:44 C-FAQ-list.abridged
  96. -rw-rw-r--   4 root     3            1302 Apr  4 04:07 C-FAQ-list.diff
  97. -rw-rw-r--   8 root     3           29033 Apr  5 01:19 C-FAQ-list.toc
  98. -rw-rw-r--  10 root     3           33561 Mar  7 00:16 Part_1_of_3:_Free_C,C++_for_numerical_computation
  99. -rw-rw-r--  10 root     3           33783 Mar  7 00:16 Part_2_of_3:_Free_C,C++_for_numerical_computation
  100. -rw-rw-r--  10 root     3           23232 Mar  7 00:17 Part_3_of_3:_Free_C,C++_for_numerical_computation
  101. -rw-rw-r--  16 root     3           33728 Apr 20 04:40 Programming_for_Internationalization_FAQ
  102. -rw-rw-r--   4 root     3           53075 Apr  2 01:33 comp.lang.c_Answers_to_Infrequently_Asked_Questions_(FAQ_List)
  103. -rw-rw-r--   1 root     3             514 Apr 21 07:18 index
  104.  
  105. see the three files promising to reveal sources for obtaining numerical code,
  106. as the FAQ says?
  107.